<script type="text/html" template>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/alert.css">
</script>
<style>
    .layui-form-label {
        width: 80px;
    }

    .layui-form-select .layui-input {
        padding-right: 0;
    }
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }
 
    input[type="number"] {
        -moz-appearance: textfield;
    }
</style>

<div class="layui-form row" lay-filter="layuiadmin-form-tags" id="layuiadmin-form-tags">
    <ul class="layui-row layui-form">
        <li class="layui-col-xs4 layui-col-sm4 layui-col-md4">
            <div class="flex layui-form-item">
                <label class="layui-form-label">
                    备品备件编号：</label>
                <div class="layui-input-block">
                    <input type="text" id="ima01" name="ima01" disabled autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="flex layui-form-item">
                <label class="layui-form-label">备品备件名称：</label>
                <div class="layui-input-block">
                    <input type="text" id="beipiname" name="ima02" disabled autocomplete="off" class="layui-input">
                </div>
            </div>
        </li>
        <li class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="margin-left: 70px;">
            <div class="flex layui-form-item">
                <label class="layui-form-label">规格：</label>
                <div class="layui-input-block">
                    <input type="text" id="guige" name="ima021" disabled autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="flex layui-form-item">
                <label class="layui-form-label"><span style="font-size: 18px;color: red;position: relative;display: inline-block;line-height: 20px;vertical-align: middle;top:3px;">*</span>调拨数量：</label>
                <!-- <div class="layui-input-block">
                    <input type="number" name="tcDetailNum" id="tcDetailNum" autocomplete="off" class="layui-input" lay-verify="required">
                </div> -->
                <input name="tcDetailNum" id="tcDetailNum" class="layui-input " value="" placeholder="请输入数量" autocomplete="off" type="number" required maxlength="11" onKeyUp="this.value=this.value.replace(/^(0+)|[^\d]+/g,'');this.value=this.value.replace('.','');"  lay-verify="required">
            </div>
        </li>
    </ul>
    <input type="hidden" id="ima25" name="ima25">
    <div class="screen-footer layui-btn-container" style="display: flex;justify-content: center;margin-top: 30px;">
        <button class="layui-btn btn1 layui-btn-radius layui-btn-radius layui-btn-danger" lay-submit lay-filter="LAY-submit" style="margin-right: 40px;">确认</button>
        <button class="layui-btn btn2 layui-btn-radius layui-btn-radius" id="quxiao" style="background-color:#8A8A8A;">取消</button>
    </div>
</div>
<script>
    $(".btn2").click(function(){
        layer.close(layer.index);
    })
</script>
